package org.cuatrovientos.exercise3;

public class Student {
	
	private String dni;
	private String name;
	private String grade;
	
	
	
	
	
	
	
	
	/**
	 * @param dni
	 * @param name
	 * @param grade
	 */
	public Student(String dni, String name, String grade) {
		super();
		this.dni = dni;
		this.name = name;
		this.grade = grade;
	}
	/**
	 * @return the dni
	 */
	public String getDni() {
		return dni;
	}
	/**
	 * @param dni the dni to set
	 */
	public void setDni(String dni) {
		this.dni = dni;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the grade
	 */
	public String getGrade() {
		return grade;
	}
	/**
	 * @param grade the grade to set
	 */
	public void setGrade(String grade) {
		this.grade = grade;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Student [dni=" + dni + ", name=" + name + ", grade=" + grade
				+ "]";
	}
	
	
	

}
